<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<html:html>
<head>
<title>Names</title>
</head>
<body>
	<html:form action="/names" method="POST" onsubmit="return validateNameForm(this);">
		<table border=0>
			<tr>
				<td class="right">First name</td>
				<td class="left"><html:text property="firstName" size="20" />
				</td>
			</tr>
			<tr>
				<td class="right">Last name</td>
				<td class="left"><html:text property="lastName" size="20" /></td>
			</tr>
			<tr>
				<td class="right">Middle initial</td>
				<td class="left"><html:text property="middleInit" size="4" />
				</td>
			</tr>
			<tr>
				<td class="right"><html:submit>Submit</html:submit>
				</td>
				<td class="right"><html:reset>Reset</html:reset>
				</td>
			</tr>
			<html:javascript formName="nameForm"/>
		</table>
	</html:form>
</body>
</html:html>